//
//  VerifyCodeBtn.h
//  TenMinDemo
//
//  Created by Shawn Li on 2021/3/13.
//  Copyright © 2021 CYXiang. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface VerifyCodeBtn : UIButton

/// 点击时触发
@property (nonatomic, copy) void(^clickBlock)();

/// 倒计时每秒触发
@property (nonatomic, copy) void(^heartbeatBlock)();

/// 倒计时结束触发
@property (nonatomic, copy) void(^endBlock)();

/// 总倒计时时长
@property (nonatomic, assign) NSInteger interval;

- (void)configVerifyBtn:(NSInteger)interval;

- (void)beginRun;

@end

NS_ASSUME_NONNULL_END
